package com.devunion.reader.client.to;

import com.extjs.gxt.ui.client.data.BaseTreeModel;

/**
 * @author Timoshenko Alexander 28.05.2009 : 9:56:42
 */
public class AnnotationTo extends AbstractTo {
    public static String X = "X";
    public static String Y = "Y";
    public static String WIDTH = "WIDTH";
    public static String HEIGHT = "HEIGHT";
    public static String TYPE = "TYPE";
    public static String TEXT = "TEXT";

    public Integer getX() {
        return get(X);
    }

    public void setX(Integer x) {
        set(X, x);
    }

    public Integer getY() {
        return get(Y);
    }

    public void setY(Integer y) {
        set(Y, y);
    }

    public Integer getWidth() {
        return get(WIDTH);
    }

    public void setWidth(Integer width) {
        set(WIDTH, width);
    }

    public Integer getHeight() {
        return get(HEIGHT);
    }

    public void setHeight(Integer height) {
        set(HEIGHT, height);
    }

    public String getType() {
        return get(TYPE);
    }

    public void setType(String type) {
        set(TYPE, type);
    }

    public String getText() {
        return get(TEXT);
    }

    public void setText(String text) {
        set(TEXT, text);
    }
}
